package com.idanchuang.component.pushgateway.config;

/**
 * @author yjy
 * @date 2019/10/24 19:36
 **/
public class PushGatewayConfigBean {

    /** pushgateway host */
    private String host = "127.0.0.1";
    /** pushgateway 端口 */
    private int port = 9091;

    public String getAddr() {
        return host + ":" + port;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "PushGatewayConfigBean{" +
                "host='" + host + '\'' +
                ", port=" + port +
                '}';
    }

}
